package validate

type sliceMapValidate struct {
	OpCode int    `validate:"eq=1|eq=2"`
	Op     string `validate:"required"`
}

func SliceValidate() {
	slice1 := []string{"123", "456", "789"}
	var err error
	err = validate.Var(slice1, "gte=3,dive,required,gte=5,lte=10,number")
	outRes("slice1", &err)
}
